Using HomeSite
|
|
Chapter 6 Editing Pages
|
Using Collapsing Text
When editing long documents or complex applications, you can hide text and code blocks so that you can focus on just a portion of the content. A customizable marker displays the first few characters of the collapsed selection.
Setting options
Open Options > Settings > Editor > Collapsed Text to set options for this feature. Using these settings, you can:
- Customize the appearance of the collapsed text marker, including the font, foreground and background colors, and amount of text to display inside the marker (note that the number of characters actually displayed in the marker may vary if a proportional font is used).
- Enable a popup display of the full text when you move your mouse over the collapsed text marker. You can set the maximum number of lines to display in the popup box.
- Enable the automatic selection of text when a collapsed text section is expanded. This allows you to expand a collapsed region to view its contents, and then easily collapse it again.
- Set file save/open options for the collapsed text.
Before you can use the Collapsed Text feature
 |
To collapse text in the current document use one of these commands:
|
- Select some text and click on one of the collapse buttons (-) that appear in the editor gutter.
- Right-click a selection of text and select Collapse selection from the popup menu.
- Right-click in a start or end tag and select Collapse Tag. This collapses the entire tag body.
- Right-click in a start or end tag and select Collapse All Identical Tags. This collapses all tags which are the same as the current tag, including nested tags.
- Click on the blue plus sign <+> at the top of the Tag Inspector pane. This collapses the text based on the current Tag Inspector outline.
 |
To work with collapsed text:
|
- Double-click a collapsed text marker to expand the text.
- To expand all collapsed text, right-click anywhere in a document and select Expand All from the popup menu.
- You can drag collapsed text just like regular text blocks.
- Collapsed text blocks can be nested within each other.
- When you run a search operation or check spelling, collapsed text expands if a match or misspelling is found within the collapsed section.
Copyright © 2000, Allaire Corporation. All rights reserved. |
|